#pragma once
#include <irrlicht.h>
#include "GuiGlobal.h"

using namespace irr;
using namespace gui;

#include "HudEventReceiver.h"

class GuiCreator
{
private:
	static HudEventReceiver* receiver;
	GuiCreator();
public:
	static void initGuiCreator(IGUIEnvironment* env, IrrlichtDevice* device);
	~GuiCreator();
	static IGUIEnvironment* env;
	static void createHUD();
	static SAppContext Context;

	static enum gui_id
	{
		GUI_ID_QUIT_BUTTON,
		GUI_ID_PAUSE_BUTTON
	};

	static HudEventReceiver* getEventReceiver();
};

